<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>select 下拉列表</title>
</head>

<body>
<!--------------------------------------------------------2-------------------------------------------------------->

<p>
    <font color="red" size="7">3. &lt;select></font>
    <font size="7">下拉列表</font>
</p>

&lt;select> 的属性:
<ol>
    <li><font color="red"> id</font>="city" 给select弄个id, 用于jQuery操作</li>
    <li><font color="red">name</font>="address" 要传送到服务器的key</li>
    <li><font color="red">multiple="multiple"</font>&emsp;同时显示多个item</li>
</ol>

<br/>

&lt;select> 里的标签: <font color="red">&lt;option></font> 是select 的每一条
<ol>
    <li>
        &lt;option <font color="red">value</font>="这条item的值, 用于提交到服务器"
    </li>
    <li>
        &lt;option <font color="red">selected</font>="selected" 默认选中
    </li>
    <li>
        <font color="red">&lt;option>重庆&lt;/option></font> 显示: 重庆
    </li>
</ol>

<!--------------------------------------------------------3-------------------------------------------------------->

<!--------------------------------------------------------4-------------------------------------------------------->

</body>

</html>